const KEY = 'heimamm-token'
// 保存函数
const saveToKen = token => {
  localStorage.setItem(KEY, token)
}
// 删除
const removeToKen = token => {
  localStorage.removeItem(KEY)
}
// 获取
const getToKen = token => {
  return localStorage.getItem(KEY)
}

// 按需导出
export { saveToKen, removeToKen, getToKen }
